<?php
//==20120828 小郑===
//==获取本周热点数据Start====        
        $wtime=strtotime(date('Y-m-d', time()-86400*date('w')));//获取本周第一天的时间，这里以星期天为每周的第一天。
        $sql="select nid,title from ".NEWSD." where classid!=160 and uptime>$wtime order by onclick desc limit 9";
        $db->query($sql);
        $weektop=$db->getRows();
        

$tpl->assign("weektop",$weektop);
$tpl->assign("current","peixun");
include("footer.php");
$out=tplfetch("train_index.htm");
?>